package educar.controllers;

import educar.gui.IView;

/**
 * Permite Cerrar una ventana
 * sin finalizar el programa *
 */
public class WindowDispose implements IController {
	private IView view;
	
	public void process(String model){
		if(null!=view) {
			view.close();
		}
	}

	
	public void setView(IView view) {
		this.view = (IView) view;	
	}
}
